import request from "@/utils/request.js";

/**
 * 薪资列表
 */
export function salaryPage(data) {
	try {
		return request({
			url: '/app/employee/salaryPage',
			method: 'GET',
			data: data
		})
	} catch (error) {
		console.error(error)
	}
}

/**
 * 薪资确认
 */
export function salaryConfirm(data) {
	try {
		return request({
			url: '/app/employee/salaryConfirm',
			method: 'GET',
			data: data
		})
	} catch (error) {
		console.error(error)
	}
}

/**
 * 银行卡信息
 */
export function bankCardInfo() {
	try {
		return request({
			url: '/app/employee/bankCardInfo',
			method: 'GET'
		})
	} catch (error) {
		console.error(error)
	}
}

